<?php
include "inc/billing_functions.inc.php";
$cus_id = 2;
$billing_briefs = customer_billing_briefs($cus_id);
echo "Number of bills: " . billing_count($cus_id) . "////";

foreach ($billing_briefs as $billing)
  {
    echo "Date: " . $billing['bill_date'] . "\\\\";
    echo "Total: " . $billing['bill_total'] . "\\\\";
    echo "Items: " . $billing['bill_items'] . "\\\\";
  }
?>

